package com.no.hq.mapper;

import com.no.hq.pojo.Student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface StudentMapper {

    Student selectById(Integer stuId);

    List<Student> selectAll();

    void insertOne(Student student);

    void updateOne(Student student);

    void deleteById(Integer id);
}
